package com.twu.biblioteca;

public class BookCollection extends Collection {

    public BookCollection(Book... books) {
        super(books);
    }

    @Override
    protected String[] titles() {
        return new String[]{"Name", "Author Name", "Year Of Publication"};
    }

    @Override
    protected String format() {
        return "%-30s%-30s%s\n";
    }
}
